/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 * Origin source from MaNGOS(GPL2).
 * Copyright (C) 2005-2010 MaNGOS <http://getmangos.com/>
 */

#ifndef __BATTLE_GROUND_MANAGER_H__
#define __BATTLE_GROUND_MANAGER_H__


namespace PQServiceCore
{
	class BattleGroundManager
	{
	public:
		static BattleGroundManager& getSingleton()
		{
			static BattleGroundManager inst;
			return inst;
		}
		bool LoadBattleMastersEntry();
		bool LoadBattleEventIndexes();
		bool CreateInitialBattleGrounds();
		bool InitAutomaticArenaPointDistribution();
		bool DeleteAllBattleGrounds();

		void Update(unsigned int deltaT);
	};

}

#define SBattleGroundMgr PQServiceCore::BattleGroundManager::getSingleton()

#endif
